package cn.itcast.wanxinp2p.consumer;

import cn.itcast.wanxinp2p.consumer.agent.FeignApi;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableFeignClients(clients = FeignApi.class)
@ComponentScan({"cn.itcast.wanxinp2p.consumer","org.dromara.hmily"})
@MapperScan(basePackages = "cn.itcast.wanxinp2p.consumer.mapper")
public class ConsumerApp {
    public static void main(String[] args) {
        SpringApplication.run(ConsumerApp.class, args);
    }
}